package com.lxw.nonghe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("t_cooperative_institution")
@ApiModel(value = "CooperativeInstitution对象", description = "农合经办机构表")
public class CooperativeInstitution implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("机构ID")
    @TableId(value = "institution_id", type = IdType.AUTO)
    private Integer institutionId;

    @ApiModelProperty("经办机构编码(如667022793)")
    private String institutionCode;

    @ApiModelProperty("所属行政编码")
    private String regionCode;

    @ApiModelProperty("机构名称")
    private String institutionName;

    @ApiModelProperty("级别(1-县级,2-乡镇级)")
    private Integer level;

    @ApiModelProperty("机构地址")
    private String address;

    @ApiModelProperty("联系人")
    private String contactPerson;

    @ApiModelProperty("联系电话")
    private String contactPhone;

    @ApiModelProperty("状态(1-启用,0-禁用)")
    private Byte status;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
